FROM java:8-jdk

MAINTAINER credithc

ADD customers-manager-web /tmp/customers-manager-web/

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone

ENTRYPOINT rm -rf /data/nginx/customers-manager-web && cp -rf /tmp/customers-manager-web/ /data/nginx/customers-manager-web
